package paper.service;

import java.io.IOException;
import java.io.InputStream;

import paper.dao.AccessoryDao;
import paper.dao.PaperDao;
import paper.domain.Accessory;
import paper.domain.Paper;
import paper.domain.User;

public interface PaperService {

	public PaperDao getDao();
	
    public AccessoryDao getAccessoryDao();
		
	public void submit(Paper paper);
	
	public void confirm(Paper paper);
	
    public Accessory findAccessoryById(long id);
	
    public Accessory writeFile(User account, String fileName, InputStream inputStream) throws IOException;

    public void archive(Paper paper);
}
